package com.xm.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author xie'lin'feng
 * @date 2020-08-26-16:43
 * @description 足迹类
 */
public class Footmark {
    //属性
    private Integer footmarkId;
    //用户id
    private Integer userId;
    //商品id
    private Integer goodsId;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Footmark(Integer footmarkId, Integer userId, Integer goodsId, Date createTime) {
        this.footmarkId = footmarkId;
        this.userId = userId;
        this.goodsId = goodsId;
        this.createTime = createTime;
    }

    public Footmark() {
    }

    public Integer getFootmarkId() {
        return footmarkId;
    }

    public void setFootmarkId(Integer footmarkId) {
        this.footmarkId = footmarkId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
